import { httpPost } from '@/utils/request'

import type LoginResponse from '@/types/login'

// 登录
export function user_login(data: LoginResponse) {
  return httpPost('home/Login/login', data)
}
// 用户信息
export function user_info(data = {}) {
  return httpPost('/home/personal/personal', data)
}
